From: Ray Strode Date: Wed, 26 Jun 2013 16:36:10 +0000 (-0400) Subject: loginDialog: force user list and prompt to be the same width X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3952 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=35b4907e5214c41579b363c288f891f0db829324;p=gnome-shell.git loginDialog: force user list and prompt to be the same width --- diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index 57b6019a3..459ec3970 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -479,7 +479,11 @@ const LoginDialog = new Lang.Class({ this._promptBox.add_constraint(new Clutter.AlignConstraint({ source: this.actor, align_axis: Clutter.AlignAxis.BOTH, factor: 0.5 })); + this.actor.add_child(this._promptBox); + this._userList.actor.add_constraint(new Clutter.BindConstraint({ source: this._promptBox, + coordinate: Clutter.BindCoordinate.WIDTH })); + this._promptUser = new St.Bin({ x_fill: true, x_align: St.Align.START }); this._promptBox.add(this._promptUser,